<%@page import="com.situ.web.entity.User"%>
<%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@page import="com.situ.web.entity.Student"%>
<%@page import="java.util.List"%>
<%@page import="com.situ.web.entity.PageBean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css"
	href="bootstrap-3.3.7-dist/css/bootstrap.css" />
<script src="js/jquery-1.11.3.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/layer/layer.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/mylayer.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/util.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<a href="${pageContext.request.contextPath}/online_user_list.jsp"
		class="btn btn-success">在线用户列表</a>
	<br>
	<br> 欢迎:${user.name }
	<a href="javascript:void(0)" onclick="logout1()"
		class="btn btn-success">注销</a>

	<br>
	<table
		class="table table-striped table-bordered table-hover table-condensed">
		<tr>
			<td>ID</td>
			<td>名字</td>
			<td>年龄</td>
			<td>性别</td>
			<td>班级名称</td>
		</tr>
		<c:forEach items="${list }" var="map">
			<tr>
				<td>${map["id"] }</td>
				<td>${map["name"] }</td>
				<td>${map["age"] }</td>
				<td>${map["gender"] }</td>
				<td>${map["banjiName"] }</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>